package com.acme.chat.message;

import java.io.Serializable;

public class ChatMessage extends AbstractMessage implements Serializable {
    public ChatMessage(MessageType type, String message) {
        this.type = type;
        this.message = message;
    }

    public ChatMessage(MessageType type) {
        this(type, null);
    }
}